Codexonics\PrimeMoverFramework\classes\PrimeMoverSystemFunctions D

Total Complexity 580
Dependencies 11
Dependents 33
Total lines 3,306
Lines of code 1,956
Logical lines of code 1,263
Comment lines 933
Methods 125
Properties 1

Methods 125

Method Rating Maintainability Complexity Lines of code
primeMoverValidateFootprintData()
D
32 37 96
printFriendlyDiffMessages()
D
29 30 122
addToPrimeMoverZipPackage()
C
33 29 94
delete()
A
46 15 34
recurseCopy()
A
42 14 48
generateReplaceableForUploadInfoAdjustment()
A
41 11 65
unzipFileChunked()
A
45 11 40
cleanDbTablesForExporting()
A
47 11 35
themeDifference()
A
41 9 64
readfileChunked()
A
49 10 31
doScreenOptionSettings()
A
51 10 28
getBytes()
A
55 9 18
generateReplaceableForSiteSchemeAdjustment()
A
49 8 32
pluginsDifference()
A
50 8 29
getCreateExportUrl()
A
53 8 22
generateImportReplaceables()
A
47 7 36
parsedBHostForPDO()
S
52 7 27
realFileSize()
S
51 7 27
primeMoverGetBlogsDirPath()
S
53 7 23
hashEntity()
S
54 7 20
fileIsInsideGivenDirectory()
S
56 7 19
getLibZipversion()
S
58 7 14
isPrimeMoverPage()
S
60 7 13
maybeForceDeleteOptionCaches()
S
55 6 20
getActivatedPlugins()
S
56 6 19
getSliceSize()
S
56 6 19
getPluginFullPath()
S
57 6 18
readPrimeMoverDirectory()
S
56 6 17
getCorrectFolderNameFromZip()
S
56 6 16
isPrimeMoverDownloadZipURLFormat()
S
58 6 15
activatePrimeMoverPluginOnly()
S
54 5 23
primeMoverGetBlogsDirUrl()
S
56 5 20
enableMaintenanceDuringImport()
S
55 5 20
logCliReProcessingArray()
S
57 5 18
isZipByMime()
S
55 5 18
disableMaintenanceDuringImport()
S
57 5 17
maybeLoadAssetsOnDashboard()
S
58 5 17
isRefererBackupMenu()
S
60 5 14
isZipPackageHasEntityEncrypted()
S
59 5 14
primeMoverDoDelete()
S
60 5 14
removeTmpImportFilesDir()
S
62 5 12
getDbPrefixOfSite()
S
59 4 16
maybeLoadMenuAssets()
S
66 5 9
getBackupMenuUrl()
S
63 5 10
maybeUseStoreMode()
S
65 5 9
isReallyZip()
S
59 4 15
createSiteExportDirectory()
S
62 4 13
addUploadinfoFootprintKey()
S
63 4 12
getThemeFullPath()
S
62 4 12
checkIfDirectoryIsEmpty()
S
62 4 12
getExportPathOfThisSubsite()
S
62 4 12
isReallyTar()
S
62 4 11
updateSiteOption()
S
58 3 16
deleteSiteOption()
S
59 3 16
doLogRecurseCopyRestart()
S
64 4 9
generalizeExportTypeBasedOnGiven()
S
64 4 10
validateIfFootprintHasUploadInfo()
S
65 4 9
logPeakMemoryUsage()
S
66 4 7
createFriendlyName()
S
59 3 13
updateBlogOption()
S
62 3 12
getPackageCreationDateTime()
S
62 3 12
isFileResideInExportDir()
S
62 3 12
addNewElement()
S
62 3 12
isMaintenanceModeEnabled()
S
62 3 12
hasZipExtension()
S
63 3 11
fileExists()
S
64 3 11
hasTarExtension()
S
63 3 11
getTablesforReplacement()
S
55 2 18
maybeLoadAssets()
S
64 3 10
fileGetContents()
S
71 3 6
isReallyValidFormat()
S
67 3 9
switchToBlog()
S
70 3 7
isConfigFileWritable()
S
65 3 10
addUpdatedPluginHeadersToCache()
S
64 3 9
maybeResetOpCache()
S
68 3 8
addSchemeFootprintKey()
S
66 3 9
maybeTestSlowCopy()
S
66 3 9
nonCachedFileExists()
S
66 3 9
temporarilyIncreaseMemoryLimits()
S
65 3 8
validateIfFootprintHasScheme()
S
66 3 9
filePutContentsAppend()
S
70 3 6
removePrefix()
S
65 3 9
isMultisiteMainSite()
S
67 3 8
isDir()
S
65 3 10
systemHooks()
S
58 2 14
getSiteOption()
S
63 2 11
getDetailedDifferencesBetweenFootprints()
S
62 2 11
isUsingChildTheme()
S
63 2 11
isHeadRequest()
S
70 2 6
compliedMinimumRequirement()
S
68 2 7
isShaString()
S
65 2 8
unLink()
S
72 2 6
isValidVersionNumber()
S
69 2 7
isValidJson()
S
65 2 9
sha256File()
S
71 2 6
primeMoverCheckIfZipEnabled()
S
69 2 7
isWpFileSystemUsable()
S
71 2 6
restoreCurrentBlog()
S
71 2 7
getBlogOption()
S
66 2 9
getFilesToRestore()
S
66 2 8
addPluginManager()
S
71 2 6
initializeSiteExportDirectory()
S
70 2 7
flush()
S
73 2 6
fileSize64()
S
71 2 6
getSystemAuthorization()
S
81 1 3
getSystemInitialization()
S
82 1 3
getMultisiteMainSiteTableQuery()
S
78 1 3
humanFileSize()
S
69 1 5
activatePlugin()
S
68 1 7
getUpgradeUrl()
S
81 1 3
getSiteTitleGivenBlogId()
S
71 1 6
getPostMaxSizeCorePhpValue()
S
76 1 4
getPostMaxSizeInPhpini()
S
71 1 6
getZipArchiveInstance()
S
80 1 3
getMd5File()
S
80 1 3
getUploadMaxFilesizeCorePhpValue()
S
76 1 4
maybeUploadParametersMisconfigured()
S
73 1 5
getUploadmaxFilesizeInPhpini()
S
71 1 6
hashString()
S
79 1 3
getFileSize()
S
80 1 3
doMemoryLogs()
S
70 1 6
getPeakMemoryUsage()
S
80 1 3
removePluginManager()
S
76 1 4
wpDie()
S
66 1 9
__construct()
S
81 1 3